/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entities;

import java.io.Serializable;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import org.hibernate.annotations.LazyCollection;
import org.hibernate.annotations.LazyCollectionOption;

/**
 *
 * @author akefeli
 */
@Entity
public class ProfessionalSection  extends Section implements Serializable {
    @OneToMany(mappedBy = "professionalSection",cascade= CascadeType.ALL)
    @LazyCollection(LazyCollectionOption.FALSE)
    private List<Experience> experiences;
   
    private String proLanguage;
    private String proSummary;
    private String proCareerYear;
    private String proCareerMonth;

    public List<Experience> getExperiences() {
        return experiences;
    }

    public void setExperiences(List<Experience> experiences) {
        this.experiences = experiences;
    }

    public String getProCareerMonth() {
        return proCareerMonth;
    }

    public void setProCareerMonth(String proCareerMonth) {
        this.proCareerMonth = proCareerMonth;
    }

    public String getProCareerYear() {
        return proCareerYear;
    }

    public void setProCareerYear(String proCareerYear) {
        this.proCareerYear = proCareerYear;
    }

    public String getProLanguage() {
        return proLanguage;
    }

    public void setProLanguage(String proLanguage) {
        this.proLanguage = proLanguage;
    }

    public String getProSummary() {
        return proSummary;
    }

    public void setProSummary(String proSummary) {
        this.proSummary = proSummary;
    }
    
    
    
}
